function func1(a, b, c) {
    console.log(arguments[0]);
    // Expected output: 1

    console.log(arguments[1]);
    // Expected output: 2

    console.log(arguments[2]);
    // Expected output: 3
  }

func1(1, 2, 3);

function sum(...args) {
    let sum = 0;
    for (let arg of args) sum += arg;
    return sum;
  }

let x = sum(4, 9, 16, 25, 29, 100, 66, 77);
